package com.beiing.tianshuai.tianshuai.mine.presenter;

import com.beiing.tianshuai.tianshuai.mine.entity.OrderUserAddressDataBean;

/**
 * Created by Administrator on 2018/4/10.
 */

public interface OrderAddressManagePresenterImpl {
    /**
     * 获取用户地址信息，请求用户id
     * @param user_id
     */
    void getUserAddress(String user_id);
    /**
     * 修改用户地址默认状态，需要给出用户id和地址id
     * @param user_id  用户id
     * @param address_id 地址 id
     * @param changeBean 修改之前的默认地址的bean
     * @param changeAfterBean 修改之后的默认地址的bean
     */
    void getUserAddressDef(String user_id, String address_id,
                           OrderUserAddressDataBean.DataBean.AddressBean changeBean,
                           OrderUserAddressDataBean.DataBean.AddressBean changeAfterBean);
    /**
     * 删除用户地址，需要给出用户id
     * @param address_id  用户id
     * @param position
     */
    void getUserAddressDel(String address_id, int position);
}
